package com.example.designpatterns.behavioral.template;

import lombok.extern.slf4j.Slf4j;

/**
 * 客户端代码（具体使用）
 *
 * @author scott
 */
@Slf4j
public class Client {

    public static void main(String[] args) {
        System.out.println("制作卡布奇诺:");
        CoffeeBeverage cappuccino = new Cappuccino();
        cappuccino.prepareBeverage();

        System.out.println();

        System.out.println("制作拿铁:");
        CoffeeBeverage latte = new Latte();
        latte.prepareBeverage();
    }

}
